package com.baidu.www;

import com.baidu.Student;

public class Test1 {
    public static void main(String[] args) {
        Student student = new Student("小明",16);
        //student.print();
        System.out.println(student);
    }
    public static void main2(String[] args) {
        Student student1 = new Student("小明",20);
        System.out.println("-----------------");

        Student student2 = new Student("小亮",18);
    }

    public static void main1(String[] args) {
      Student student1 = new Student("小明",20);
      Student student2 = new Student("小亮",19);
      student1.staticClassroom(502);
      student1.print();
      student2.print();
    }
}
